/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.tbp.persitence.dao;

import br.com.tbp.exception.PersistenciaException;
import br.com.tbp.model.domain.financeiro.Conta;
import java.util.Date;
import java.util.List;

/**
 *
 * @author Diego
 */
public interface ContaDao {

    public void adicionar(Conta c) throws PersistenciaException;
    public void editar(Conta c) throws PersistenciaException;
    public boolean excluir(Conta c) throws PersistenciaException;
    public List<Conta> pesquisar(int mes, int ano) throws PersistenciaException;
    public List<Conta> pesquisarPor(String descricao, int mes, int ano) throws PersistenciaException;
    public List<Conta> pesquisarPor(Date data) throws PersistenciaException;
    public List<Conta> pesquisarPor(Double valor, int mes, int ano) throws PersistenciaException;

}
